package com.gec.system.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

public interface UserDetailsService {
    //使用主键进行判断,根据用户名获取用户对象
    UserDetails findUserByUsername(String username)throws UsernameNotFoundException;
}
